DEPTH		= ../../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= msgexchange
LIBRARY_NAME	= msgexchange_s
META_COMPONENT = mail
ifndef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
MOZILLA_INTERNAL_API = 1
endif

REQUIRES	= xpcom \
		  string \
		  rdf \
		  msgbase \
		  msgbaseutil \
		  rdfutil \
		  necko \
		  widget \
		  appshell \
		  msgdb \
		  dom \
		  uconv \
		  unicharutil \
		  mime \
		  caps \
		  pref \
		  intl \
		  nkcache \
		  txmgr \
		  docshell \
		  msgcompose \
		  msglocal \
		  msgnews \
		  mimetype \
		  uriloader \
		  windowwatcher \
		  embed_base \
		  exthandler \
		  $(ZLIB_REQUIRES) \
		  $(NULL)

CPPSRCS		= \
		nsExchangeIncomingServer.cpp \
		nsExchangeMailFolder.cpp \
		nsExchangeService.cpp \
		$(NULL)

include $(topsrcdir)/config/config.mk

# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk

